<body onload="f()"> </body>

<script>
	function f() {
		document.write(
			"屏幕分辨率为：" + screen.width + "*" + screen.height + "\&nbsp\&nbsp\&nbsp screen.width  *  screen.height" +
			"<br />" +
			"屏幕可用大小：" + screen.availWidth + "*" + screen.availHeight + "\&nbsp\&nbsp\&nbsp screen.availWidth * screen.availHeight" +
			"<br />" +
			"<br />" +

			"屏幕分辨率的高：" + window.screen.height + "\&nbsp\&nbsp\&nbsp window.screen.height" +
			"<br />" +
			"屏幕分辨率的宽：" + window.screen.width + "\&nbsp\&nbsp\&nbsp window.screen.width" +
			"<br />" +
			"网页正文部分上：" + window.screenTop + "\&nbsp\&nbsp\&nbsp  window.screenTop" +
			"<br />" +
			"网页正文部分左：" + window.screenLeft + "\&nbsp\&nbsp\&nbsp window.screenLeft" +
			"<br />" +
			"<br />" +

			"屏幕可用工作区宽度：" + window.screen.availWidth + "\&nbsp\&nbsp\&nbsp window.screen.availWidth" +
			"<br />" +
			"屏幕可用工作区高度：" + window.screen.availHeight + "\&nbsp\&nbsp\&nbsp window.screen.availHeight" +
			"<br />" +
			"<br />" +

			"网页可见区域宽：" + document.body.clientWidth + "\&nbsp\&nbsp\&nbsp document.body.clientWidth" +
			"<br />" +
			"网页可见区域高：" + document.body.clientHeight + "\&nbsp\&nbsp\&nbsp document.body.clientHeight" +
			"<br />" +
			"<br />" +

			"网页可见区域宽(包括边线的宽)：" + document.body.offsetWidth + "\&nbsp\&nbsp\&nbsp document.body.offsetWidth" +
			"<br />" +
			"网页可见区域高(包括边线的宽)：" + document.body.offsetHeight + "\&nbsp\&nbsp\&nbsp document.body.offsetHeight" +
			"<br />" +
			"<br />" +

			"网页正文全文宽：" + document.body.scrollWidth + "\&nbsp\&nbsp\&nbsp document.body.scrollWidth" +
			"<br />" +
			"网页正文全文高：" + document.body.scrollHeight + "\&nbsp\&nbsp\&nbsp document.body.scrollHeight" +
			"<br />" +
			"<br />" +

			"网页被卷去的高：" + document.body.scrollTop + "\&nbsp\&nbsp\&nbsp document.body.scrollTop" +
			"<br />" +
			"网页被卷去的左：" + document.body.scrollLeft + "\&nbsp\&nbsp\&nbsp document.body.scrollLeft" +
			"<br />" +
			"<a href='Vue2 01.基本代码.html'>点击</a>" +

			"<br />" +
			"<br />" +
			"<br />" +
			""
		);
	}
</script>


<style type="text/css">
	a {
		text-decoration: none;
	}
</style>